YAYDP\Helper\YAYDP_Condition_Helper D

Total Complexity 251
Dependencies 4
Dependents 3
Total lines 1,312
Lines of code 848
Logical lines of code 595
Comment lines 328
Methods 38
Properties 0

Methods 38

Method Rating Maintainability Complexity Lines of code
check_list_conditions()
D
31 34 107
check_order_history_product()
A
44 12 45
check_payment_method()
A
46 12 39
check_billing_region()
A
49 12 27
check_shipping_region()
A
49 12 27
check_combined_items()
A
48 11 34
check_order_history_category()
A
46 10 39
get_cart_items_match_product()
A
49 10 30
check_product_attribute_taxonomies()
A
49 10 27
get_matching_cart_items_product()
A
49 9 30
check_customer_order_count_from_last_discount()
A
49 8 31
get_cart_items_match_tag()
A
51 8 26
get_cart_items_match_category()
A
51 8 26
check_bought_products()
A
52 8 24
check_previous_order_in()
A
47 7 35
check_orders_purchased_date()
S
51 7 27
get_matching_cart_items_category()
S
51 7 26
get_matching_cart_items_tag()
S
51 7 26
check_user_creation_date()
S
54 7 20
check_applied_coupons()
S
50 6 29
check_shipping_class()
S
53 6 23
check_shipping_method()
S
56 6 16
check_account_create_time()
S
56 4 18
check_cart_item_regular_price()
S
62 3 11
check_cart_item_category()
S
63 3 10
check_cart_item_tag()
S
63 3 10
get_order_history_available_statuses()
S
64 2 11
check_customer_role()
S
62 2 11
check_specific_customer()
S
68 2 6
check_logged_customer()
S
77 2 3
check_cart_item()
S
68 2 7
check_customer_order_count()
S
66 2 8
check_product_variation()
S
68 2 7
check_cart_quantity()
S
66 2 8
check_cart_subtotal_price()
S
63 2 10
check_shipping_total()
S
74 1 4
check_cart_total_weight()
S
74 1 4
check_conditions()
S
70 1 6